package com.be.beadmin.quality.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author Jiahao Liu
 * @CreateTime 2023-05-18
 * @Description 检验表模板子项
 */
@Data
@Entity
@Table(name = "T_QM_TemplateInspectionItem")
public class TemplateInspectionItem extends BaseEntity {

    @Column(name = "InspectionTemplateId", columnDefinition = "text COMMENT '检验表模板Id' ")
    private String inspectionTemplateId;

//    @Column(name = "ItemId", columnDefinition = "VARCHAR(50) COMMENT '检验项Id' ")
//    private String itemId;

    @Column(name = "ItemName", columnDefinition = "text COMMENT '检验项名称' ")
    private String itemName;

    @Column(name = "InspectionMethod", columnDefinition = "text COMMENT '检查方法' ")
    private String inspectionMethod;

    @Column(name = "OptionType", columnDefinition = "VARCHAR(50) COMMENT '选项类型' ")
    private String optionType;

    @Column(name = "SortId", columnDefinition = "int COMMENT '排序' ")
    private Integer sortId;

    /**
     * 需要
     */
    @Column(name = "Des", columnDefinition = "text COMMENT '描述' ")
    private String des;

    /**
     *
     */
    @Column(name = "IsDetailDes", columnDefinition = "VARCHAR(50) COMMENT '有无详细描述明细01' ")
    private String isDetailDes;

    /**
     * 我需要加一个明细值
     */

    @Column(name = "IsExtendDes", columnDefinition = "VARCHAR(50) COMMENT '有无其他描述01' ")
    private String isExtendDes;

    /**
     * 1|2|3|4       0101
     */
    @Column(name = "DescOption", columnDefinition = "text COMMENT '多选选项' ")
    private String descOption;

    /**
     * 加一个多选值
     */

    @Column(name = "RightOption", columnDefinition = "VARCHAR(50) COMMENT '单选选项' ")
    private String rightOption;

    /**
     * 单选值
     */


    /**
     * 没用
     */
    @Column(name = "Memo", columnDefinition = "text COMMENT '备注' ")
    private String memo;
}
